package net.arogarth.aws.android.lib.def;

import java.util.ArrayList;
import java.util.List;

public enum Ec2InstanceTypes {
	t1_micro, m1_small, m1_large, m1_xlarge, c1_medium, c1_xlarge, m2_xlarge, m2_2xlarge, m2_4xlarge;

	public static List<String> toList() {
		List<String> strValues = new ArrayList<String>();

		for (Ec2InstanceTypes type : Ec2InstanceTypes.values())
			strValues.add(type.toString());

		return strValues;
	}

	public String toString() {
		String name = this.name();
		name = name.replace("_", ".");
		name = name.toUpperCase();
		return name;
	}
}
